﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm2.aspx.cs" Inherits="WebsiteLogging.WebForm2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
		<a href="/WebForm1.aspx">Web form1</a>
    	<asp:GridView ID="GridView1" runat="server" AllowPaging="True" 
			AutoGenerateColumns="False" DataSourceID="ObjectDataSource1">
			<Columns>
				<asp:BoundField DataField="Id" HeaderText="Id" SortExpression="Id" />
				<asp:BoundField DataField="UserName" HeaderText="UserName" 
					SortExpression="UserName" />
				<asp:BoundField DataField="DateTime" HeaderText="DateTime" 
					SortExpression="DateTime" />
				<asp:BoundField DataField="SitePage" HeaderText="SitePage" 
					SortExpression="SitePage" />
				<asp:BoundField DataField="Referrer" HeaderText="Referrer" 
					SortExpression="Referrer" />
				<asp:BoundField DataField="UserAgent" HeaderText="UserAgent" 
					SortExpression="UserAgent" />
				<asp:BoundField DataField="Comment" HeaderText="Comment" 
					SortExpression="Comment" />
			</Columns>
		</asp:GridView>
		<asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
			SelectMethod="ShowLog" TypeName="WebsiteLogging.Data.SiteLogDAO">
		</asp:ObjectDataSource>
    
    </div>
    </form>
</body>
</html>
